console.log('asd:'+process.env.NODE_ENV );
let MYSQL_CONF,
		REDIS_CONF;
if (process.env.NODE_ENV === "dev") {
	MYSQL_CONF = {
		host: 'localhost',
		user: 'root',
		password: 'root',
		port: '3306',
		database: 'myblog'
	} 
	REDIS_CONF = {
		port:6379,
		host: '127.0.0.1'
	}
}else{
	MYSQL_CONF = {
		host: '192.168.181.135',
		user: 'root',
		password: 'root',
		port: '3306',
		database: 'myblog'
	}
	REDIS_CONF = {
		port:6379,
		host: '192.168.181.135'
	}
}

module.exports = {
	MYSQL_CONF,
	REDIS_CONF
}
